import {router} from "@/init/router.js";

export async function xtPush(name, params) {
    await router.push({name, params})
}

export async function xtReplace(name, params) {
    await router.replace({name,  params})
}

export async function xtGo(number) {
    await router.go(number)
}